using UnityEngine;
using System.Collections;

public class Actor : MonoBehaviour 
{
	[System.NonSerialized]
	public Transform actorTransform;
	[System.NonSerialized]
	public GameObject actorGameObject;
	[System.NonSerialized]
	public Collider actorCollider;
	[System.NonSerialized]
	public Renderer actorRenderer;
	[System.NonSerialized]
	public Rigidbody actorRigidBody;
	
	private void Awake() {
		actorTransform	= transform;
		actorGameObject = gameObject;
		actorCollider 	= collider;
		actorRenderer	= renderer;
		actorRigidBody = rigidbody;
		ActorAwake();
	}
	private void Start() { ActorStart();}
	private void Update() {	ActorUpdate(); }
	private void FixedUpdate() { ActorFixedUpdate(); }
	private void LateUpdate() {	ActorLateUpdate(); }
	
	protected virtual void ActorAwake() {}
	protected virtual void ActorStart() {}
	protected virtual void ActorUpdate() {}
	protected virtual void ActorFixedUpdate() {}
	protected virtual void ActorLateUpdate() {}
}
